package com.study.seckill.service.impl;

import com.study.dto.UserDTO;
import com.study.seckill.service.UserService;
import com.study.util.ResponseResult;
import org.springframework.stereotype.Component;

import java.math.BigInteger;

/**
 * @ClassName: UserServiceImpl
 * @Author: wYin
 * @Date: 2022/3/11 15:10
 */
@Component
public class UserServiceImpl implements UserService {
    @Override
    public ResponseResult<UserDTO> getById(Integer id) {
        return new ResponseResult<>(500,"网络延迟",null);
    }
}
